package www.main;

/**
 * @program: Sky
 * @description: 系统启动类
 * @author: Mr.Yan
 * @create: 2019-03-08 10:04
 **/

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: Sky
 * @description: 启动类
 * @author: Mr.Yan
 * @create: 2019-03-07 14:45
 **/
@SpringBootApplication
@ComponentScan(basePackages = {"www.main","www.dbconfig","www.common","www.login","www.authority"})
public class RunMain {

    protected  static final Logger logger = LoggerFactory.getLogger(RunMain.class);

    /**
     * 项目启动
     * @param arg0
     */
    public static void main (String [] arg0) {
        SpringApplication.run(RunMain.class, arg0);
        logger.warn("————————————天空之城 —— 加载配置成功");

    }
}
